//
//  MTLabel.h
//  MoveLabel
//
//  Created by 常兴宇 on 13-10-8.
//  Copyright (c) 2013年 常兴宇. All rights reserved.
//

typedef enum  {
    ScrollCirculation = 0,
    ScrollSingle = 1,
}ScrollType;

//typedef enum  {
//    ScrollCirculation = 0,
//    ScrollSingle = 1,
//}TextAlignment;

#import <UIKit/UIKit.h>

@interface MTLabel : UIView
{
    UILabel * label;
    NSTimer * timer;
    CGSize  size;
    int scrollState;
    UILabel * mLabel;
}
@property (nonatomic) NSTextAlignment textAlignment;
@property (nonatomic) ScrollType  scrollType;
@property (nonatomic, copy) NSString * text;
@property (nonatomic) float space;
@property (nonatomic, retain) UIColor * textColor;
@property (nonatomic, retain) UIFont * font;

-(void)setText:(NSString *)text;
-(void)startScroll;

@end
